namespace GameSchool.Migrations
{
    using System.Data.Entity.Migrations;
    
    public partial class AddedDoubleAndIntXPToLevelAndAddUsernameToComments : DbMigration
    {
        public override void Up()
        {
            AddColumn("Comments", "userName", c => c.String());
            AddColumn("Levels", "intLevelXP", c => c.Int(nullable: false));
            AddColumn("Levels", "doubleLevelXP", c => c.Double(nullable: false));
            DropColumn("Levels", "levelXP");
        }
        
        public override void Down()
        {
            AddColumn("Levels", "levelXP", c => c.Int(nullable: false));
            DropColumn("Levels", "doubleLevelXP");
            DropColumn("Levels", "intLevelXP");
            DropColumn("Comments", "userName");
        }
    }
}
